package org.ext.loader.ogre
{
	internal class IndexBuffer
	{
		public var buffer:Vector.<uint>;
		
		/**
		 * 建立顶点缓存
		 */
		static public function create(indexCount:uint):IndexBuffer{
			var buf:IndexBuffer = new IndexBuffer;
			buf.buffer = new Vector.<uint>( indexCount );
			buf.buffer.fixed = true;
			return buf;
		} 
	}
}